package com.ddwl.shop.dao.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.schema.vo.shop.ShopMemberDto;
import com.ddwl.shop.dao.model.ShopMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (ShopMember)数据库交互Mapper
 *
 * @author wenbin
 * @since 2020-06-02 14:48:12
 */
public interface ShopMemberMapper extends TkMapper<ShopMember> {

    List<ShopMemberDto> queryMemberShopList(@Param("userId") String userId);

    List<ShopMemberDto> queryParentShopList(String userId);
}